package
{
	import component.scrollBar.VScrollBarTest;
	
	import flash.display.StageAlign;
	import flash.display.StageScaleMode;
	import flash.text.TextField;
	import flash.text.TextFieldType;
	
	import obecto.core.FLApplication;
	import obecto.event.FLEvent;

	public class VScrollBarSample extends FLApplication
	{
		private var vScrollBar : VScrollBarTest;
		
		public function VScrollBarSample()
		{
			super();
			
			stage.frameRate = 35;
			stage.scaleMode = StageScaleMode.NO_SCALE;
			stage.align = StageAlign.TOP_LEFT;
			
			vScrollBar = new VScrollBarTest();
			vScrollBar.addEventListener(FLEvent.CREATION_COMPLETE, handleVScrollBarCreationComplete);
		
		}
		
		private function handleVScrollBarCreationComplete(event : FLEvent) : void
		{
			this.addChild(vScrollBar);
		}
		
	}
}